package com.annie.boots.service;

import com.annie.boots.bean.User;
import com.annie.boots.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    @Override
    public User login(String userName, String password) {

        return userMapper.login(userName,password);
    }
}
